function Dtext(props) {
  const { propLable, style } = props;
  const handleInput = (e) => {
    console.log("e", e.target.innerHTML);
  };

  return (
    <input
      contentEditable="true"
      onInput={handleInput}
      style={style}
      className="text_tmp"
      placeholder={propLable}
    />
  );
}

export default Dtext;
